/*
 * Copyright © 2004-2014 chenYuan. All rights reserved.
 * @Website:wwww.jspx.net
 * @Mail:39793751@qq.com
 * @author: chenYuan , 陈原
 * @License: Jspx.net Framework Code is open source (LGPL)，Jspx.net Framework 使用LGPL 开源授权协议发布。
 * @jvm:jdk1.6+  x86/amd64
 *
 */
package com.jspx.txweb;

import com.jspx.txweb.config.ActionConfig;
import com.jspx.txweb.config.ActionConfigBean;
import com.jspx.txweb.config.ResultConfigBean;
import com.jspx.txweb.table.OperateVO;

import java.util.Collection;
import java.util.Map;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User:chenYuan (mail:39793751@qq.com)
 * Date: 2007-3-31
 * Time: 17:24:19
 */
public interface WebConfigManager {
    List<String> getDefaultInterceptors(String namespace) throws Exception;

    List<String> getPageDefaultInterceptors(String namespace);

    List<ResultConfigBean> getDefaultResults(String namespace);

    void clear();

    Map<String, Map<String, ActionConfigBean>> getConfigTable() throws Exception;

    ActionConfig getActionConfig(String namePart, String namespace, boolean wildcard) throws Exception;

    List<String> getActionList(String namespace) throws Exception;

    Map<String, ActionConfigBean> getActionMap(String namespace) throws Exception;

    List<String> getNamespaceList() throws Exception;

    Map<String, String> getExtendList() throws Exception;

    List<OperateVO> getOperateForNamespace(String namespace) throws Exception;

    Collection<OperateVO> getOperateList(String namespace) throws Exception;

    List<String> getSoftList() throws Exception;

}